package com.lagou.order;

import com.lagou.entity.UserCourseOrder;

import java.util.List;

public interface OrderService {

    void saveOrder(String orderNo,String user_id,String course_id,
                   String activity_course_id,String source_type);

    //修改订单编号
    //返回受影响的行数
    Integer updateOrder(String orderNo,Integer status);

    //删除订单
    Integer deleteOrder(String orderNo);


    //查询我的订单
    List<UserCourseOrder> getOrdersByUserId(String userId);
}
